package com.py.outbound.domain;

import java.math.BigDecimal;

import lombok.ToString;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 od_purchase_details
 *
 * @author ruoyi
 * @date 2024-12-25
 */
@ToString
public class OdPurchaseDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 进货明细主键 */
    private Long phDetailsId;

    /** 进货订单编号 */
    @Excel(name = "进货订单编号")
    private String phCode;

    /** 货品名称 */
    @Excel(name = "货品名称")
    private String productName;

    /** 货品编码 */
    @Excel(name = "货品编码")
    private String productCode;

    /** 规则型号 */
    @Excel(name = "规则型号")
    private String productModel;

    /** 单位 */
    @Excel(name = "单位")
    private Long unit;

    /** 货品类型 */
    @Excel(name = "货品类型")
    private String productType;

    /** 当前库存 */
    @Excel(name = "当前库存")
    private Long inventory;

    /** 货品数量 */
    @Excel(name = "货品数量")
    private Long productNum;

    /** 进货单价 */
    @Excel(name = "进货单价")
    private BigDecimal price;

    /** 退货数量 */
    @Excel(name = "退货数量")
    private Long rejectedNum;

    public void setPhDetailsId(Long phDetailsId)
    {
        this.phDetailsId = phDetailsId;
    }

    public Long getPhDetailsId()
    {
        return phDetailsId;
    }
    public void setPhCode(String phCode)
    {
        this.phCode = phCode;
    }

    public String getPhCode()
    {
        return phCode;
    }
    public void setProductName(String productName)
    {
        this.productName = productName;
    }

    public String getProductName()
    {
        return productName;
    }
    public void setProductCode(String productCode)
    {
        this.productCode = productCode;
    }

    public String getProductCode()
    {
        return productCode;
    }
    public void setProductModel(String productModel)
    {
        this.productModel = productModel;
    }

    public String getProductModel()
    {
        return productModel;
    }
    public void setUnit(Long unit)
    {
        this.unit = unit;
    }

    public Long getUnit()
    {
        return unit;
    }
    public void setProductType(String productType)
    {
        this.productType = productType;
    }

    public String getProductType()
    {
        return productType;
    }
    public void setInventory(Long inventory)
    {
        this.inventory = inventory;
    }

    public Long getInventory()
    {
        return inventory;
    }
    public void setProductNum(Long productNum)
    {
        this.productNum = productNum;
    }

    public Long getProductNum()
    {
        return productNum;
    }
    public void setPrice(BigDecimal price)
    {
        this.price = price;
    }

    public BigDecimal getPrice()
    {
        return price;
    }
    public void setRejectedNum(Long rejectedNum)
    {
        this.rejectedNum = rejectedNum;
    }

    public Long getRejectedNum()
    {
        return rejectedNum;
    }

}